<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<script src="../../js/jquery.min.js"></script>
		<script src="http://enzozhong.googlecode.com/svn/Ez/src/z/h/w/js/jquery/util/jquery.ez.js"></script>

		<style>
			@import "../../css/pageessay.css";
			@import "../../css/essay.css";
		</style>

		<title>Enzo钟</title>
	</head>
	<body>

		<header>
			<jsp:include page="temp/header.jsp"/>
		</header>

		<div class="f_l1">

			<article ps="放文章">

				<c:forEach items="${obj}" var="essay"> 
					<div class="essay">

						<div class="body">

							<div class="body_l0">

								<ul class="data">
									<li class="anno">
										<fmt:formatDate value="${essay.essayDate}" pattern="yyyy年" />
									</li>
									<li class="mese">
										<fmt:formatDate value="${essay.essayDate}" pattern="MM月" />
									</li>
									<li class="giorno">
										<fmt:formatDate value="${essay.essayDate}" pattern="dd日" />
									</li>
								</ul>

								<ul class="info">
									<li class="title">
										<a href="/essay/${essay.essayId}">${essay.essayTitle}</a>
									</li>
									<li class="catalogo">目录:
										<a href="/catalogo/${essay.catalogo.catalogoId}">${essay.catalogo.catalogoName}</a>
									</li>
									<li class="tag">
										标签:<c:forEach items="${essay.tagList}" var="tag">
											<a href="/tag/${tag.tagId}">${tag.tagName}</a>
										</c:forEach> 
									</li>
									<li class="see">
										阅读: ${essay.essaySee}
									</li>

								</ul>
							</div>

							<div class="body_l1">${essay.essayHtml}
								<a href="/essay/${essay.essayId}" title="阅读"> ... ... </a>
							</div>

						</div>

					</div>

				</c:forEach>  

			</article>

			<nav ps="导航">
				<jsp:include page="temp/nav.jsp"/>
			</nav>
		</div>
	</body>
</html>
